<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style.css"/>">
<script type="text/javascript" src="<s:url value="/script/sysOper.js"/>"></script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width="998" border="0" cellspacing="0" cellpadding="0"
	align="center">
	<tr>
		<td background="<s:url value="/images/home_4a.gif"/>">
		<table width="863" border="0" cellspacing="0" cellpadding="0"
			align="center" bgcolor="#FFFFFF">
			<tr>
				<td width="20%" valign="top">
				<table width="863" border="0" cellspacing="0" cellpadding="0"
					align="center" bgcolor="#FFFFFF">
					<tr>
						<td width="197" valign="top">
						<%@ include file="/commons/include/catalog_left.inc"%>  
						</td>
						<td valign="top"><s:form
							action="/business/product/searchProductReferences.action" method="post">
							<table width="660" border="0" cellspacing="0" cellpadding="0"
								background="<s:url value="/images/catalog_manage_8b.gif"/>">
								<tr>
									<td><img
										src="<s:url value="/images/catalog_manage_8.gif"/>" width=660
										height=11 alt=""></td>
								</tr>
								<tr>
									<td>
									<TABLE width="98%" border="0" cellspacing="0" cellpadding="0"
										align="center" class=tablecolor2>
										<tr>
											<td width="15%" height="50">
											<div align="center">产品名称</div>
											</td>
											<td width="35%"><input name="conds['product.name']" type="text"
												value="${conds['product.name']}" size="20" /></td>
											<td width="15%" height="50">
											<div align="center"></div>
											</td>
											<td width="35%"></td>
										</tr>
									</TABLE>
									<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
										<TR height=30>
											<TD align=left width="10%">
											<input type="button" name="search" onclick="submit();"
												value="查 询"> </TD>
										</TR>
									</table>
									<table width="98%" border="0" cellspacing="0" cellpadding="7"
										align="center" class=tablecolor2>
										<tr>
											<td bgcolor="9AC2EB" width="30%">
											<div align="center"><font color="#FFFFFF">产品名称</font></div>
											</td>
											<td bgcolor="9AC2EB" width="70%">
											<div align="center"><font color="#FFFFFF">产品信息</font></div>
											</td>
										</tr>
										<s:iterator value="products">
											<tr>
												<td>
												<div align="center">
												<a href="<s:url value="/business/product/showProduct.action?product.id="/><s:property value="id"/>"
												   target="_blank">
												<s:property value="name" />
												</a></div>
												</td>
												<td>
												<div align="left">
												产品简介：<s:property value="briefIntroduction" />
												</div>
												<div align="left">|
												<s:iterator value="productReferences">
													<a href="<s:url value="/business/product/showProductReference.action?productReference.id="/><s:property value="id" />" target="_blank"><font color="blue"><s:property value="referenceType.name" /></font></a>|
												</s:iterator>
												</div>
												</td>
											</tr>
										</s:iterator>
									</table>
									</td>
								</tr>
								<tr>
									<td><img
										src="<s:url value="/images/catalog_manage_8a.gif"/>"
										width="660" height="9"></td>
								</tr>
							</table>
						</s:form></td>
					</tr>
				</table>
</body>
<script>
	function selectProduct(){
	     var url='<s:url value="/xtreecheckbox/selectProduct.jsp?module=radio&date=" escapeAmp="false" />'+'<%=System.currentTimeMillis()%>';
			var returnData = window.showModalDialog(url, window,
					"status:no;dialogWidth:800px;dialogHeight:600px;scroll:yes;");
			if (returnData) {
				document.forms[0]["name"].value = returnData[1];
				document.forms[0]["conds['product.id']"].value = returnData[0];
			}
	}

</script>
</html>

